home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CD-ROM Today - The Disc! 5
/
CD-ROM Today - The Disc (Issue 5)(November 1994).ISO
/
mac
/
Mac shareware
/
Education
/
RLaB
/
help
/
CONTINUE
< prev
next >
Wrap
Text File
|
1994-09-21
|
462b
|
24 lines
CONTINUE:
The continue statement in RLaB is similar to the C language
continue statement. When a continue statement is encountered,
it causes the next iteration of the enclosing for or while
loop to begin.
For example, the following set of statements causes the
variable `i' to be printed when it's value is 2.
> for (i in 1:3)
{
if (i == 2)
{
i ?
else
continue
}
}
i =
2
See Also: BREAK, FOR, WHILE